package com.middlegroup.subjectpay.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.middlegroup.subjectpay.entity.CardBin;
import com.middlegroup.subjectpay.mapper.CardBinMapper;
import com.middlegroup.subjectpay.service.CardBinService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author pc123
 * @since 2019-01-10
 */
@Service
public class CardBinServiceImpl extends ServiceImpl<CardBinMapper, CardBin> implements CardBinService {

    @Resource
    private CardBinMapper cardBinMapper;

    @Override
    public CardBin getBankInfoByCardNo(String cardNo) {
        return cardBinMapper.getBankInfoByCardNo(cardNo);
    }
}
